# PNG

PNG_VERSION := 1.6.22
PNG_FILE := libpng-$(PNG_VERSION).tar.xz

#PNG_URL := $(SF)/libpng/libpng16/$(PNG_VERSION)/$(PNG_FILE)
#$(TARBALLS)/$(PNG_FILE):
#	$(call download,$(PNG_URL))

.sum-png: $(PNG_FILE)

png: $(PNG_FILE) .sum-png
	$(UNPACK)
	$(MOVE)

DEPS_png = zlib $(DEPS_zlib)

.png: png
	$(RECONF)
	cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
	cd $< && $(MAKE) install
	touch $@
